﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestFulService
{
    public class TranData
    {
        /// <summary>
        /// 订单查询
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 成功
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Ttranhead> tranhead { get; set; }

        public class Ttranhead
        {
            /// <summary>
            /// 
            /// </summary>
            public int orderid { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string orderno { get; set; }
            /// <summary>
            /// 交易类型
            /// </summary>
            public string sellway { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string orderdate { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string vipno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string vipname { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string ordertype { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal orderAmt { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string discAmt { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string saleAmt { get; set; }

            /// <summary>
            /// 
            /// </summary>
            public List<Ttrandtl> trandtl { get; set; }
        }
        public class Ttrandtl
        {
            /// <summary>
            /// 
            /// </summary>
            public int line { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string pluno { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string pluname { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal pluprice { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public int qty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal discount { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal amt { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string tasklist { get; set; }

        }

    }
}
